import React from "react";
import { Card } from "antd";
import style from "./style.module.css";

function pcBtn(props) {
  console.log(props);

  return (
    <div className={style.btnBox}>
      {props.iconList?.map((item, idx) => {
        return (
          <Card className={style.iconBox} key={idx}>
            <p>
              <img src={item.icon} alt="" />
            </p>
            <p>{item.name}</p>
          </Card>
        );
      })}
    </div>
  );
}

export default pcBtn;
